phpDocumentor Web Commons
[ class tree: Web Commons ] [ index: Web Commons ] [ all elements ]

Class: IniFileConfig

Source Location: /config.php

Class IniFileConfig

Class Overview

Implements interfaces:

A configuration built with a .ini file.

Located in /config.php [line 39]



		
				Author(s):
		
Information Tags:
Since:  0.1

Methods

[ Top ]
Method Summary
IniFileConfig   __construct()   Throws a MisconfigurationException if the file is missing, could not be read or parsed.
void   getItem()   (non-PHPdoc)
void   getSection()   (non-PHPdoc)

[ Top ]
Methods
Constructor __construct  [line 54]

  IniFileConfig __construct( string $filename  )

Throws a MisconfigurationException if the file is missing, could not be read or parsed.

Parameters:
string   $filename:  path to config file.

API Tags:
Access:  public

Information Tags:
Throws:  MisconfigurationException
Since:  0.1

[ Top ]
getItem  [line 68]

  void getItem( $section, $item  )

(non-PHPdoc)

Parameters:
   $section: 
   $item: 

API Tags:
See:  WebCommons/Config::getItem()
Access:  public


Implementation of:
Config::getItem()
Returns a configuration $item from a $section

[ Top ]
getSection  [line 84]

  void getSection( $section  )

(non-PHPdoc)

Parameters:
   $section: 

API Tags:
See:  WebCommons/Config::getSection()
Access:  public


Implementation of:
Config::getSection()
Returns an array containing values defined inside $section

[ Top ]

Documentation generated on Fri, 16 Jul 2010 00:48:39 +0200 by phpDocumentor 1.4.3